package com.zmc.admin.infrastructure.bean.vo.login;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @Author：zmc
 * @Date：2025/4/22 17:29
 */
@Data
public class SendCodeVo implements Serializable {

    @NotBlank(message = "手机号不能为空")
    @Pattern(regexp = "^[1]([3-9])[0-9]{9}$", message = "手机号格式错误")
    private String phone;
}
